#!/user/bin/env python3
# -*- coding: utf-8 -*-
import allure, json, time
class Addition:
    def addition_01(self,a,b,front_and_back):
        with allure.step('%s+%s+%s=%s'%(a,b,front_and_back,a+b+front_and_back)):
            allure.attach(
                json.dumps('%s+%s+%s=%s' % (a, b, front_and_back, a + b + front_and_back), ensure_ascii=False,
                           indent=4),
                "附件内容",
                allure.attachment_type.TEXT,
            )
            time.sleep(5)
            n=a+b+front_and_back
        return n